package cjq.demo.thread;

/**
 * Created by Administrator on 2016/3/11.
 */
public class ObjTread {
    private static ObjTread obj ;
    private ObjTread(){};

    public static synchronized ObjTread getObj(){
        if(obj==null)
            obj = new ObjTread();
        return obj;
    }
}
